package me.shurufa.model;

import java.io.Serializable;
import java.util.List;

/**
 * 作者 : andy
 * 日期 : 16/3/26 14:17
 * 邮箱 : andyxialm@gmail.com
 * 描述 : 查询书的model  接口返回结果与基本的book貌似不一致
 */
public class SearchBook extends BaseModel {

    /**
     * subtitle : 弱者如何找到优势，反败为胜
     * author : [加] 马尔科姆•格拉德威尔
     * pubdate : 2014-6
     * origin_title :
     * image : https://img3.doubanio.com/lpic/s27265245.jpg
     * pages : 272
     * publisher : 中信出版社
     * alt_title :
     * series : 格拉德威尔经典系列
     * price : 36.00元
     * created_at : 1458891161
     * updated_at : 1458891161
     * buy_url : null
     * authors : ["[加] 马尔科姆\u2022格拉德威尔"]
     * isbn : 9787508636894
     */

    private String subtitle;
    private String author;
    private String pubdate;
    private String origin_title;
    private String image;
    private String pages;
    private String publisher;
    private String alt_title;
    private String series;
    private String price;
    private String created_at;
    private String updated_at;
    private Object buy_url;
    private String isbn;
    private List<String> authors;
    public CollectInfoEntity collect_info;

    public static class CollectInfoEntity implements Serializable {
        public boolean excerpt; // 是否在我的书架中
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPubdate() {
        return pubdate;
    }

    public void setPubdate(String pubdate) {
        this.pubdate = pubdate;
    }

    public String getOrigin_title() {
        return origin_title;
    }

    public void setOrigin_title(String origin_title) {
        this.origin_title = origin_title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getPages() {
        return pages;
    }

    public void setPages(String pages) {
        this.pages = pages;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getAlt_title() {
        return alt_title;
    }

    public void setAlt_title(String alt_title) {
        this.alt_title = alt_title;
    }

    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public Object getBuy_url() {
        return buy_url;
    }

    public void setBuy_url(Object buy_url) {
        this.buy_url = buy_url;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public List<String> getAuthors() {
        return authors;
    }

    public void setAuthors(List<String> authors) {
        this.authors = authors;
    }
}
